﻿using Abp.Application.Services.Dto;
using shenghua.Basics.AreaSetting.Dto;
using shenghua.Basics.Setting.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Basics.AreaSetting
{
    public interface IAreaAppService
    {
        Task<AreaDto> Create(CreateAreaDto input);
        Task<AreaDto> Update(UpdateAreaDto input);
        Task Delete(EntityDto input);
        Task SortUp(EntityDto input);
        Task SortDown(EntityDto input);
        Task SetEnabled(EntityDto input);
        Task SetDisabled(EntityDto input);
        Task<List<AreaDto>> GetAll(int? parentId);
        Task<List<WordTreeDto<AreaDto>>> GetTree(int? parentId);
    }
}
